package com.example.mamsinject;

import android.app.Application;
import android.content.Context;

import com.example.mamsinject.block.MyBlockCanary;

public class MyApplication extends Application {
    private static Context sContext;

    public static Context getAppContext() {
        return sContext;
    }

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        sContext = this;

        // BlockCanary.install(this, new AppBlockCanaryContext()).start();
        new MyBlockCanary().start();
//        MatrixInitTask.init(this);

    }
}

